-- GENERATED SPELL FOR [Primitive Owlbeast] --


function spell0_2928(pUnit, Event) --@Shred,n/a--
pUnit:FullCastSpellOnTarget(3252,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2928', 12000, 1)
end

function Sorts_2928(pUnit, Event)
local choix_sorts_2928 = math.random(0, 0)
if choix_sorts_2928 == 0 then
pUnit:RegisterEvent('spell0_2928', 1, 1)
end
end

function mob2928_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2928', math.random(1500, 3000), 1)
end

function mob2928_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2928_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2928_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2928, 1, 'mob2928_Action')
RegisterUnitEvent(2928, 2, 'mob2928_Leave')
RegisterUnitEvent(2928, 3, 'mob2928_Kill')
RegisterUnitEvent(2928, 4, 'mob2928_Die')
